package com.uam.web.common.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Administrator
 */
@ApiModel(value = "任务信息")
@Data
public class TaskVo {

    @ApiModelProperty(value = "任务ID")
    private Long id;


    @ApiModelProperty(value = "任务名称")
    private String name;


    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;



    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "任务状态")
    private Integer status;


    @ApiModelProperty(value = "")
    private List<SiteVo> siteVos;

    private Integer signalType;
    public TaskVo(){

    }

    public TaskVo(Long id, String name, LocalDateTime startTime, LocalDateTime endTime, List<SiteVo> siteVos,Integer status,Integer signalType) {
        this.id = id;
        this.name = name;
        this.startTime = startTime;
        this.endTime = endTime;
        this.siteVos = siteVos;
        this.status=status;
        this.signalType=signalType;
    }
}
